k="KEY"
timer=1
for i in $(/usr/bin/seq ${1:-$timer} -1 0); do
    printf "\rHit any key to stop initsys: %s " "$i"
    read -t 1 -rsn1 k
    if [ "$k" != "KEY" ]; then
       break
    fi
done
printf "\n"
[ "$k" != "KEY" ] && exit 0

while true
do
    if [ -d /mnt/mtdblock2 ]; then
        echo "rcS: Exist /mnt/mtdblock2"
        if [ -f /mnt/mtdblock2/init.sh ]; then
                echo "rcS: Execute /mnt/mtdblock2/init.sh"
                    /mnt/mtdblock2/init.sh
                    fi
        exit
    else
        echo "rcS: Not exist /mnt/mtdblock2"
    fi
    sleep 2
done
